/**
 * Author:runlin。tang.
 * Creation Time: 2016/6/29
 * Description: SSID（充电宝）
 */
define(['jquery','underscore','backbone'],
    function ($,_,Backbone) {
    function indexV(datas){
        var liHtml = '';
        var arrLength = (Object.keys(datas.data)).length + 1;
        for(var i=1;i<arrLength;i++){
            liHtml += '<li mac="'+datas.mac[i]+'">'+datas.data[i]+'</li>';
        }

        $(".name-list").html(liHtml);
    }

    return indexV;
});